package com.tecode.day01.homeword;
/**
 * 图书类
 * @author Administrator
 *
 */
public class Book {
	

	
	int id;
	
	
	
	String name;
	String author;
	double price;
	String press;

	/**
	 * 显示书籍的信息方法
	 */
	public void show() {
		System.out.println("id=" + id + ", name=" + name + ", author=" + author + ", "
				+ "price=" + price + ", press=" + press);
	}
	
	

	
	
}
